const prodBaseUrl = ''
// const devBaseUrl = 'http://192.168.31.84:8080'
// const devBaseUrl = 'http://192.168.31.83:9090'
// const devBaseUrl = 'http://192.168.31.177:9090'
// const devBaseUrl = '/api'
const devBaseUrl = '/fw'
// const devBaseUrl = 'http://192.168.31.177:8080' + '/debug'
// const devBaseUrl = 'http://192.168.31.177:8080' + '/test'
// const devBaseUrl = 'http://192.168.31.98:8081' + '/debug'
// const pevBaseUrl = 'http://192.168.31.177:9090' + '/debug' //本地测试环境
const pevBaseUrl = 'http://192.168.31.83:9094' //局域网测试环境
// const pevBaseUrl = 'http://localhost:8888' //局域网开发环境
// const pevBaseUrl = 'http://192.168.31.177:9090' + '/test' //本地测试

let baseURL = ''
const VUE_APP_MODE = process.env.VUE_APP_MODE

if (VUE_APP_MODE === 'dev') baseURL = devBaseUrl
if (VUE_APP_MODE === 'pev') baseURL = pevBaseUrl
if (VUE_APP_MODE === 'prod') baseURL = prodBaseUrl

export { baseURL }
